package ar.edu.unq.wannaplay;

import org.apache.wicket.markup.html.WebMarkupContainer;
import org.apache.wicket.markup.html.WebPage;

import ar.edu.unq.wannaplay.components.WPLink;
import ar.edu.unq.wannaplay.pages.BandPage;
import ar.edu.unq.wannaplay.pages.CalendarPage;
import ar.edu.unq.wannaplay.pages.EmployeePage;
import ar.edu.unq.wannaplay.pages.ProjectPage;

public class Sidebar extends WebPage {
    private static final long serialVersionUID = 1L;

    public Sidebar() {
        this.init();
    }

    public void init() {
        WebMarkupContainer container = new WebMarkupContainer("sidebarTable");
        container.add(new WPLink<EmployeePage>("employees", EmployeePage.class));
        container.add(new WPLink<ProjectPage>("projects", ProjectPage.class));
        container.add(new WPLink<CalendarPage>("calendar", CalendarPage.class));
        container.add(new WPLink<BandPage>("bands", BandPage.class));
        this.add(container);
    }
}
